[Manager Summary]
Sets for the print dialog box the page number at which to begin printing.
OSStatus PMSetFirstPage(PMPrintSettings printSettings, UInt32 first, Boolean lock)
PARAMETERS
printSettings
- A PMPrintSettings object previously created by your application for the current printing session. On return, this object is updated to reflect the page number you specify in the first parameter.
first
- A page number. Pass the number for the first page to print.
lock
- A Boolean value. Pass TRUE if you wish to lock the From field in the page range portion of the print dialog box.
- function result
- Passing TRUE in the lock parameter effects only printer drivers for Mac OS X and LaserWriter printer drivers version 8.7 or later. If you pass TRUE for any other printer driver, this function returns the result code kPMLockIgnored.
CARBON PORTING NOTES
The PMSetFirstPagefunction replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and sets information previously stored in the iFstPage field of the Printing Manager structure TPrJob.
Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.